package com.z.service;

import com.z.entity.Perms;
import com.z.entity.Role;
import com.z.entity.User;

import java.util.HashMap;
import java.util.List;

public interface RegisterService {
    int register(User user);

    User login(String username);

    List<Role> selectAllRoles(String username);

    List<Perms> findPermsByRoleId(Long id);
}
